package com.zhaoyu.admin.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.zhaoyu.model.admin.dtos.ChannelDto;
import com.zhaoyu.model.admin.pojos.AdChannel;
import com.zhaoyu.model.common.dtos.ResponseResult;

/**
 * AdChannel(频道)
 */
public interface AdChannelService extends IService<AdChannel> {

    ResponseResult findByNameAndPage(ChannelDto channelDto);

    ResponseResult insert(AdChannel adChannel);

    ResponseResult edit(AdChannel adChannel);

    ResponseResult deleteById(Integer id);

}